﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Main.aspx.cs" Inherits="ChatClient._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div id="container">
        <div id="row">
            <div id="left">
                <asp:Label runat="server" ID="labelChannels">Channels:</asp:Label>
                <asp:ListBox runat="server" ID="listBoxChannels" class="listboxLeft" 
                    AutoPostBack="true" 
                    onselectedindexchanged="listBoxChannels_SelectedIndexChanged"></asp:ListBox>
                <asp:TextBox runat="server" ID="textBoxChannel" class="textbox"></asp:TextBox>
                <asp:Button runat="server" ID="buttonCreateChannel" Text="Create channel" class="button" Enabled="false"/>
            </div>
            <div id="middle">
                <iframe id="frame" width="100%" height="372" src="Frame.aspx" frameborder="1" scrolling="yes">
                </iframe>
                <div><asp:TextBox runat="server" ID="textBoxMessage" class="textBoxMessage"></asp:TextBox>
                <asp:Button runat="server" ID="buttonSend" Text="Send" class="buttonSend"/></div>
            </div>
            <div id="right">
                <asp:Label runat="server" ID="labelUsers">Users:</asp:Label>
                <asp:ListBox runat="server" ID="listBoxUsers" class="listboxRight" AutoPostBack="true"></asp:ListBox>
            </div>
        </div>
    </div>
</asp:Content>
